package com.itheima.dao;

import com.alibaba.dubbo.config.annotation.Service;
import com.github.pagehelper.Page;
import com.itheima.pojo.Role;
import com.itheima.pojo.User;

import java.util.List;
@Service
public interface UserManagementDao {

    public void add(User user);
    public Page<User> selectByCondition(String queryString);
    public long findCountByCheckItemId(Integer id);
    public void deleteById(Integer id);
    public void edit(User user);
    public User findById(Integer id);
    public List<User> findAll();
    //查询所有role
    List<Role> findAllRole();
}
